package Server.network.server;

import Server.Opcodes;
import Server.world.object;

public class Light extends BasePacket{

	public Light(object obj, int Light){
		writeC(Opcodes.S_OPCODE_OBJLIGHT);
		writeD(obj.get_objectId());
		writeC(Light);
	}
	
	public byte[] send(){

		return getBytes();
	}
}
